package com.kingzoder.food.common.base.page;

import com.kingzoder.food.common.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author 轩辕铮
 */
@Schema(description = "通用查询")
@EqualsAndHashCode(callSuper = true)
@Data
public class BaseQuery extends BaseDTO {

    @SchemaProperty(name = "排序字段,类型List，非必须")
    private List<BaseSortField> baseSortFields;
}
